package com.example.jazztalk.rcp.ui.actions;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

import com.example.jazztalk.client.IJazzTalkClientLibrary;
import example.jazztalk.common.model.Message;
import com.ibm.team.repository.client.IItemManager;
import com.ibm.team.repository.common.IContributor;
import com.ibm.team.repository.common.TeamRepositoryException;
public class ShowFiltersJazzTalkAction extends AbstractJazzTalkAction{

	@Override
	protected void callService(IProgressMonitor monitor)
			throws TeamRepositoryException {
		// TODO chiamata al servizio 
		
	}
	protected void showFiltersDialog(){
		Display d = new Display();
		Shell s = new Shell(d);
		final Combo cmb = new Combo(s, SWT.READ_ONLY);
		String filters[]= {"fitro1", "filtro2"}; 
		cmb.setItems(filters);
		s.open();
	}

}
